import Http from '@/common/http'

export default {

  getList: () => Http.get('/live/list'),

  getChats: id => Http.get(`/live/${id}/chats`),

  bindUser: (id, params) => Http.post(`/live/${id}/user/bind`, params),

  sendMessage: (id, params) => Http.post(`/live/${id}/msg/send`, params)

}
